.layui-upload-1 .layui-upload-list {
  box-sizing: content-box;
  overflow: hidden;
  min-height: 156px;
  padding: 15px 0 0 15px;
  border: 1px solid #CCCCCC;
  position: relative;
}
.layui-upload-1 .upload-bg {
  display: none;
  width: 260px;
  height: 114px;
  background: url(../img/upload-bg.png) no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -130px;
  margin-top: -57px;
}
.layui-upload-1 .upload-bg:only-child {
  display: block;
}
.layui-upload-1 .layui-upload-item {
  float: left;
  width: 156px;
  height: 156px;
  margin: 0 15px 15px 0;
  border: 1px solid #DDDDDD;
  position: relative;
}
.layui-upload-1 .layui-upload-item:hover .preview {
  display: block;
}
.layui-upload-1 .layui-upload-img {
  width: 100%;
  height: 100%;
}
.layui-upload-1 .single-upload {
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  color: #fff;
  position: absolute;
  bottom: 5px;
  right: 30px;
  cursor: pointer;
}
.layui-upload-1 .single-upload:before {
  content: "\e681";
  font-family: layui-icon !important;
}
.layui-upload-1 .delete {
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  color: #fff;
  position: absolute;
  bottom: 5px;
  right: 6px;
  cursor: pointer;
}
.layui-upload-1 .delete:before {
  content: "\e640";
  font-family: layui-icon !important;
}
.layui-upload-1 .preview {
  display: none;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: rgba(34, 34, 58, 0.7);
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -45px;
  cursor: pointer;
}
.layui-upload-1 .preview:before {
  content: "\e615";
  font-family: layui-icon !important;
}
.layui-upload-1 .layui-progress {
  display: none;
  width: 90%;
  position: absolute;
  left: 5%;
  top: 50%;
  margin-top: -29px;
}
.layui-upload-1 .preview-pdf-img {
  background: url(../img/pdf.jpg) center no-repeat;
}
.layui-upload-1 .preview-t {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-left: 10px;
  padding-right: 50px;
  color: #ffffff;
  background-color: rgba(34, 34, 58, 0.7);
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: absolute;
  left: 0;
  bottom: 0;
}
.layui-upload-1 .layui-upload-button {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.layui-upload-1 .layui-upload-button .layui-btn:first-child {
  border-radius: 4px 0 0 4px;
}
.layui-upload-1 .layui-upload-button .layui-btn:last-child {
  border-radius: 0 4px 4px 0;
}
.layui-upload-1 .upload-all-t {
  float: left;
  width: calc(100% - 244px);
  cursor: auto;
  color: #7f8fa4;
  text-align: left;
}
.layui-upload-1 .upload-all-t:hover {
  color: #7f8fa4;
}
.layui-upload-1 .upload-all {
  float: left;
  width: 122px;
  color: #4da6f8;
}
.layui-upload-1 .upload-all:hover {
  color: #4da6f8;
}
.layui-upload-1 .upload-file {
  float: left;
  width: 122px;
  background: #c5d0de;
  color: #FFFFFF;
}
.layui-upload-1 .upload-file:hover {
  color: #FFFFFF;
}
.layui-carousel > [carousel-item] > * {
  display: block;
  visibility: hidden;
  z-index: -9;
}
.layui-carousel > [carousel-item] > .layui-carousel-next,
.layui-carousel > [carousel-item] > .layui-carousel-prev,
.layui-carousel > [carousel-item] > .layui-this {
  display: block;
  visibility: visible;
  z-index: 0;
}
.frame-pdf-bg {
  background: url(../img/pdf.jpg) center no-repeat;
}
.preview-img-left-btn,
.preview-img-right-btn {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 9;
  margin-left: -18px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 20px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  cursor: pointer;
}
.preview-img-left-btn:hover,
.preview-img-right-btn:hover {
  background-color: rgba(0, 0, 0, 0.35);
}
.preview-img-left-btn:before,
.preview-img-right-btn:before {
  font-family: layui-icon !important;
  font-size: 20px;
  font-style: normal;
  content: "\e666";
}
.preview-img-left-btn {
  margin-left: -48px;
  transform: scale(-1, 1);
}
.preview-img-right-btn {
  margin-left: 12px;
}
.preview-img-wrap img {
  transition: all 0.5s;
  max-width: 100%;
  max-height: 100%;
}
.preview-img-wrap[rotate="-90"] img {
  max-width: 100vh;
  max-height: 100vw;
  transform: rotate(-90deg);
}
.preview-img-wrap[rotate="-180"] img {
  max-width: 100%;
  max-height: 100%;
  transform: rotate(-180deg);
}
.preview-img-wrap[rotate="-270"] img {
  max-width: 100vh;
  max-height: 100vw;
  transform: rotate(-270deg);
}
.preview-img-wrap[rotate="-360"] img {
  max-width: 100%;
  max-height: 100%;
  transform: rotate(-360deg);
}
.preview-img-wrap[rotate="90"] img {
  max-width: 100vh;
  max-height: 100vw;
  transform: rotate(90deg);
}
.preview-img-wrap[rotate="180"] img {
  max-width: 100%;
  max-height: 100%;
  transform: rotate(180deg);
}
.preview-img-wrap[rotate="270"] img {
  max-width: 100vh;
  max-height: 100vw;
  transform: rotate(270deg);
}
.preview-img-wrap[rotate="360"] img {
  max-width: 100%;
  max-height: 100%;
  transform: rotate(360deg);
}
.preview-img-wrap[rotate="0"] img {
  max-width: 100%;
  max-height: 100%;
  transition: none;
}
.layui-upload-2 {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.layui-upload-2 .layui-btn:first-child {
  border-radius: 4px 0 0 4px;
}
.layui-upload-2 .layui-btn:last-child {
  border-radius: 0 4px 4px 0;
}
.layui-upload-2 .upload-file {
  float: left;
  color: #4da6f8;
}
.layui-upload-2 .upload-file:hover {
  color: #4da6f8;
}
.layui-upload-2 .upload-all {
  float: left;
  color: #4da6f8;
}
.layui-upload-2 .upload-all:hover {
  color: #4da6f8;
}
